package com.qilin.hscs.hm.dao;

import com.qilin.hscs.hm.pojo.DeviceCluster;
import com.qilin.hscs.hm.pojo.DeviceType;
import com.qilin.hscs.hm.pojo.Room;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;
import java.util.Map;

/**
 * Created by 10188 on 2018/4/19.
 */
public interface DeviceTypeRepository extends JpaRepository<DeviceType, Integer> {

    List<DeviceType> findByClu(Integer clu);

    DeviceType findByEpt(Integer ept);
}
